package com.monster;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 启动入口
 * @author kuangxz
 */
@EnableCaching
@SpringBootApplication
@EnableTransactionManagement
@MapperScan({"com.monster.**.mapper", "com.gitee.sunchenbin.mybatis.actable.dao.*"})
@ComponentScan(basePackages = {"com.monster.admin", "com.monster.security", "com.gitee.sunchenbin.mybatis.actable.manager.*"})
public class MonsterAdmin {
    public static void main(String[] args) {
        SpringApplication.run(MonsterAdmin.class, args);
    }
}
